<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div class="box"></div>
  <style>
    .box {

      height: 40px;

      width: 60px;

      border: 1px solid skyblue;

      background: linear-gradient(to right, skyblue 40%, #fff 40%);

      border-radius: 20px;

    }
  </style>

  <script>
    setTimeout(()=>{
      
    },3000)
  </script>
</body>

</html>